package com.qiyuexinxi.chat.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author yangxingyu
 * @date 2020/2/27
 * @description
 */
@ApiModel("获取用户信息")
@Data
public class GetUserInfoRequest {

    @ApiModelProperty("用户ID")
    @NotNull(message = "用户ID不能为空")
    private List<Integer> userIds;

    public GetUserInfoRequest(){}

    public GetUserInfoRequest(List<Integer> userIds) {
        this.userIds = userIds;
    }
}
